Repository navigation
Name the cheap-loop candidate fix without stating its outcome - #85
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #82.
Why
The template wrote "Moving
Xremoves the link." for every cheap loop. The tool's own simulation says otherwise for most of them, and since #81 the screen shows "Simulated: the link remains" next to that sentence.What changes
The sentence now names the candidate fix and leaves the outcome to the simulation line:
Two commits:
src/codexray/report/templates.py(the cheap-loop fix text; action, symbol, from and to are unchanged),spec.md§8.7 (the example sentence),scripts/make_fixture_bundle.pyand the two fixture bundles regenerated withmake contracts.schemas/and the generated web types came out unchanged.results/<id>/findings.jsonandweb/public/bundles/<id>/findings.jsonfor the three repositories, regenerated withcodexray reportfrom the final judged runs, so the published files are what the code produces.Not changed: text written by the AI job, the simulation, the ranking, settings, and every other published file.
What I ran and saw
Only
codexray reportand the bundle step were run, withLLM_API_KEYunset. No other stage and no AI call.Source runs. A private copy of the judged runs whose
findings.jsonhad the same sha256 as the files published onmainbefore this change.Second run.
reporttwice per repository:findings.jsonand every JSON file under the run'sweb/have the same sha256 both times.Exactly six files changed in the second commit.
manifest.json,decisions.yaml,usage.json,robustness.json,ARCHITECTURE_RULES.md,layouts.json,report.json,map.json, the index files and thecode/files are byte for byte what was committed.Before against after, checked from the git diff:
The order of finding ids, every
priority, everysimulationand every AI judgement are unchanged. Onlysummaryandjudgement.fix.textdiffer, only on cheap loops, and with the old and new sentence removed the strings are identical.results/and the bundle hold the same bytes, and every finding names the same run as the manifest.The old sentence is in 0 findings now (47, 36 and 8 before).
make checkpasses: ruff, 36 Python tests passed and 1 skipped, contracts up to date, typecheck, 4 web tests, build.Example, artemis rank 62: "The candidate fix is to move
LectureUnitCompletionintosrc/main/java/de/tum/cit/aet/artemis/account." Its simulation says the link remains, and the screen says so beside it.Limits
docs/research/Stages 5 and 6 analysis and LLM judge.mdline 230, still has an early draft of the old sentence. It is a record of the design at that time and was left as it is.